package com.haisen.service;

import com.haisen.core.utils.PageResultSet;
import com.haisen.dataobject.dto.JobNoDTO;
import com.haisen.dataobject.dto.TreeDto;
import com.haisen.dataobject.entity.JobNo;
import com.haisen.dataobject.query.JobNoQuery;

import java.util.List;


public interface JobNoService {

    void create(JobNo jobNo);
    void update(JobNo jobNo);
    void delete(Long[] ids);
    JobNo selectOneByAccount(String accountNo);
    PageResultSet<JobNo> findByPager(JobNoQuery jobNoQuery);

   List<String> autoComplete(String query);

   List<JobNoDTO> ListAllDTO();
   List<TreeDto> list2Tree();

   String getAllJobNoINCache();
}
